package com.app.mymvp.business.main;

import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.RelativeLayout;

import com.app.base.utils.T;
import com.app.mymvp.R;
import com.app.mymvp.base.BaseFragment;

import butterknife.BindView;
import butterknife.ButterKnife;

/**
 * Created by HJ on 2016/4/8 0008.
 * 我的标签页
 */
public class MineFragment extends BaseFragment {

    @BindView(R.id.rl_mine)
    RelativeLayout rlMine;

    @Override
    public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {
        return super.onCreateView(inflater, container, savedInstanceState);
    }

    @Override
    public void initView() {
        activity.setHeadTitle("我的");
        rlMine.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                T.show(activity, "asd");
            }
        });
    }

    @Override
    public int getLayoutId() {
        return R.layout.fragment_mine;
    }

    @Override
    public void onResume() {
        super.onResume();
        rlMine.setVisibility(View.VISIBLE);
    }

    @Override
    public boolean onBackPressed() {
        return false;
    }

    @Override
    public void onDestroyView() {
        super.onDestroyView();
    }

}
